using Avalonia.Controls;
using Avalonia.Interactivity;
using IntegratedMeasuring.ViewModels.Scheme;

namespace IntegratedMeasuring.Pages;

public partial class LogDetailDialog : Window
{
    public LogDetailDialog(LogRecord log)
    {
        InitializeComponent();
        DataContext = log;
    }

    private void CloseButton_Click(object? sender, RoutedEventArgs e)
    {
        this.Close();
    }
}